{% extends "sidebar_base.html" %}

{% block header_base %}
	<script type="text/javascript" src="/static/js/function_root_base.js"></script>
{% endblock %}

{% block content_base %}<div id="main_content"><div id="selectatom_main"><form action="" method="post">
	<p><strong>定制Feed，选择要订阅的分类</strong></p>
	<div class="width_full overflow_hidden" id="cate_list_selectatom">
	<div class="width_full" id="op_cate_list_selectatom">
		<input type="checkbox" name="chkall" onclick="checked_all(this.form);" id="check_all" />
		<label for="check_all"><a class="font_bold">无/全选</a><label>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最多只能选择三十个分类/标签(Google app engine list查询的限制)
	</div>
	{% for category in categorys %}
		<div class="width_half_full float_left">
			<input type="checkbox" id="{{ category.key.id }}_checkbox" name="cate_list" value="{{ category.key.id }}" />
			<label for="{{ category.key.id }}_checkbox">{{ category.name }}</label>
		</div>
	{% endfor %}
	</div>
	<div class="width_full align_right">
		<input type="submit" value="生成 Feed 地址" />
	</div>
</form></div></div>{% endblock %}
